import 'dart:convert';

class CZMUIKitUtils {
  /// 解析群公告内容
  static String parseGroupNoticeContent(String? jsonString) {
    if (jsonString == null || jsonString.isEmpty) {
      return "";
    }
    try {
      return jsonDecode(jsonString)["content"] ?? "";
    } catch (_) {
      return "";
    }
  }
}
